/* 
 * Copyright 2013-2020 Modeliosoft
 * 
 * This file is part of Modelio.
 * 
 * Modelio is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Modelio is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Modelio.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.02 at 02:29:48 PM CET
//
package org.modelio.bpmnxml.model;

import com.modeliosoft.modelio.javadesigner.annotations.objid;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;

/**
 * <p>Java class for tItemKind.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="tItemKind">
 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 * &lt;enumeration value="Information"/>
 * &lt;enumeration value="Physical"/>
 * &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 */
@objid ("c184fca4-dfe5-4c7f-a2f8-4148cc4a5894")
@XmlType(name = "tItemKind")
@XmlEnum
public enum TItemKind {
    @objid ("62ad1718-6f3e-48f5-9b4c-68456ba2c56f")
    @XmlEnumValue("Information")
    INFORMATION("Information"),
    @objid ("dd1ce952-0c31-4d9d-9a4b-179d29e7153e")
    @XmlEnumValue("Physical")
    PHYSICAL("Physical");

    @objid ("44cb929c-9f23-445d-904a-e873024dcc2f")
    private final String value;

    @objid ("7880338f-61f5-407b-9675-74030902a136")
     TItemKind(String v) {
        this.value = v;
    }

    @objid ("94aa19b2-b3cf-4fbf-b0ea-ff3fdae79948")
    public String value() {
        return this.value;
    }

    @objid ("a8072a80-6a97-4513-810f-f5e3fcea2b31")
    public static TItemKind fromValue(String v) {
        for (TItemKind c: TItemKind.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
        
    }

}
